projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ff289
)
(byte-optimize-set): Avoid CLism.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 25 Mar 2003 16:48:43 +0000
(16:48 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 25 Mar 2003 16:48:43 +0000
(16:48 +0000)
lisp/emacs-lisp/byte-opt.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/byte-opt.el
b/lisp/emacs-lisp/byte-opt.el
index 7aa34cff6bcdf9ec487a7c56a7f40e32f1c27a35..c02e8b02dea904356fa7202b114099998c5746d9 100644
(file)
--- a/
lisp/emacs-lisp/byte-opt.el
+++ b/
lisp/emacs-lisp/byte-opt.el
@@
-1174,7
+1174,7
@@
(let ((var (car-safe (cdr-safe form))))
(cond
((and (eq (car-safe var) 'quote) (consp (cdr var)))
-
(list* 'setq (cadr var)
(cddr form)))
+
`(setq ,(cadr var) ,@
(cddr form)))
((and (eq (car-safe var) 'make-local-variable)
(eq (car-safe (setq var (car-safe (cdr var)))) 'quote)
(consp (cdr var)))